<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PurBarcode</title>
<script src="${cdnAddress}/js/boot.js${cacheVersion}" type="text/javascript"></script>
<script src="${cdnAddress}/js/util.js${cacheVersion}" type="text/javascript"></script>
<link href="${cdnAddress}/css/common_view_seach_table.css${cacheVersion}" rel="stylesheet" type="text/css" />
</head>
<body>
<input type="hidden" id="projectName" value="${projectName}" />
	<form id="form1" method="post">
	 <input class="mini-hidden" id="id" name="id" />
	 <input class="mini-hidden" id="businessKey" name="businessKey" />
	 <input class="mini-hidden" id="equipmentId" name="equipmentId" />
	 <input class="mini-hidden" id="equipmentName" name="equipmentName" />
	 <input class="mini-hidden" id="equipmentType" name="equipmentType" />
	 <input class="mini-hidden" id="equipmentTypeName" name="equipmentTypeName" />
	  <input class="mini-hidden" id="statusNumId" name="statusNumId" value="1" />
	  <input class="mini-hidden" id="storageNumId" name="storageNumId" />
	  <input class="mini-hidden" id="srcStorageNumId" name="srcStorageNumId" />
	   <input class="mini-hidden" id="type" name="type" />
	  <input class="mini-hidden" id="checkBusKey" name="checkBusKey" />
		<div>
			<div style="padding: 8px;" id="baseinfo">
				<fieldset style="border: solid 1px #aaa; padding: 8px;">
					<legend>条码录入</legend>
					  
					  <table class="commonTable" border="1" width="100%"
						bordercolor="#e5e5e5">
						<tr class="commonTr">
					 <td>设备条码:</td><td><input  class="mini-textbox" required="true"  id="equipmentBarcode" name="equipmentBarcode"  onenter="onKeyEnter" onvalidation="onBarCodeValidation"/>
					<td> <a class="mini-button" id="button_okPurBarcode" onclick="onOkPurBarcode"
					style="width: 60px; margin-right: 10px;">保存</a></td></tr></table>
				</fieldset>
			</div>
			<div style="padding-top:0px;padding-bottom:5px;margin-left:18px;float:left;margin-top:-3px;">
					<a class="mini-button" id="button_onCancelPurBarcode" onclick="removeBarcode()"
					style="width: 60px; margin-right: 10px;">删除</a>
</div>
			 <div id="datagrid1" class="mini-datagrid"   style="height:350px;"
        url=""  idField="id"    multiSelect="true" allowResize="true">
        <div property="columns">            
            <div type="checkcolumn"></div>      
            <div type="indexcolumn">序号</div>           
            <div field="equipmentBarcode">设备条码</div>
			<div field="equipmentName">设备名称</div>
			<div field="equipmentTypeName">设备类型</div>
        </div>
    </div> 
			<!-- <div style="text-align: center; padding: 10px;" id="buttonarea">
				<a class="mini-button" id="button_okPurBarcode" onclick="onOkPurBarcode"
					style="width: 60px; margin-right: 10px;">保存</a><a
					class="mini-button" id="button_onCancelPurBarcode" onclick="onCancelPurBarcode"
					style="width: 60px; margin-right: 10px;">取消</a>
					
			</div> -->
		</div>
	</form>
<script src="${scripts}/loseform/editBarcode.js${cacheVersion}" type="text/javascript"></script>
</body>
</html>